package top.sssd.auth.model.userRole.dto;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value = "UserRole对象", description = "用户角色关联表")
public class UserRoleDto {
    //主键ID
    @ApiModelProperty(value = "主键ID")
    private Long id;
    //用户ID
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    //角色ID
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}
